from django.db import models


class Cloth(models.Model):
    cloth_id = models.CharField(max_length=255, unique=True, primary_key=True)  # 衣服ID
    user = models.CharField(max_length=1000)  # 衣服所属人
    cloth_type = models.CharField(max_length=1000)  # 衣服种类
    describe = models.TextField(max_length=8192000)  # 对这件衣服的描述

    def __str__(self):
        return self.cloth_id
